package com.survey.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.survey.common.annotation.Excel;
import com.survey.common.core.domain.BaseEntity;

/**
 * 问题信息对象 sur_issue
 *
 * @author ruoyi
 * @date 2024-12-23
 */
public class SurIssue extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 问题ID
     */
    private Long issueId;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long userId;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 问题类型
     */
    private String typeName;

    /**
     * 问题类型名称
     */
    private Long typeId;

    /**
     * 问题标题
     */
    @Excel(name = "问题标题")
    private String issueTitle;

    /**
     * 问题内容
     */
    @Excel(name = "问题内容")
    private String issueContent;

    /**
     * 问题所属的学校ID
     */
    @Excel(name = "问题所属的学校ID")
    private Long schoolId;

    /**
     * 学校名称
     */
    @Excel(name = "学校名称")
    private String schoolName;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String phoneNum;

    /**
     * 问题图片列表（存储图片路径的逗号分隔字符串）
     */
    @Excel(name = "问题图片列表", readConverterExp = "存=储图片路径的逗号分隔字符串")
    private String issueImages;

    /**
     * 问题处理进度
     */
    @Excel(name = "问题处理进度")
    private Long issueStatus;

    private String issueStatusName;

    /**
     * 删除标志，0表示未删除，1表示已删除
     */
    private String delFlag;

    public void setIssueId(Long issueId) {
        this.issueId = issueId;
    }

    public Long getIssueId() {
        return issueId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setIssueTitle(String issueTitle) {
        this.issueTitle = issueTitle;
    }

    public String getIssueTitle() {
        return issueTitle;
    }

    public void setIssueContent(String issueContent) {
        this.issueContent = issueContent;
    }

    public String getIssueContent() {
        return issueContent;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public void setIssueImages(String issueImages) {
        this.issueImages = issueImages;
    }

    public String getIssueImages() {
        return issueImages;
    }

    public void setIssueStatus(Long issueStatus) {
        this.issueStatus = issueStatus;
    }

    public Long getIssueStatus() {
        return issueStatus;
    }

    public String getIssueStatusName() {
        return issueStatusName;
    }

    public void setIssueStatusName(String issueStatusName) {
        this.issueStatusName = issueStatusName;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("issueId", getIssueId())
                .append("userId", getUserId())
                .append("typeName", getTypeName())
                .append("issueTypeName", getTypeId())
                .append("issueTitle", getIssueTitle())
                .append("issueContent", getIssueContent())
                .append("schoolId", getSchoolId())
                .append("schoolName", getSchoolName())
                .append("phoneNum", getPhoneNum())
                .append("issueImages", getIssueImages())
                .append("issueStatus", getIssueStatus())
                .append("issueStatusName", getIssueStatusName())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
